home *** CD-ROM | disk | FTP | other *** search
- Benjamin Kenobi wrote:
- >
- > I'm just wondering, is there any good reason AT can't write a program which
- > will tranlsate binary executables from 680X0 -> PPC, doing optimizations along
- > the way? That way we could translate most of our old software and it would
- > run efficiently. Why didn't Apple do this with the PowerMacs?
- >
-
- A translator could be possible but I seriously doubt that you could do much
- optimizations.
-
- See:
-
- MOVE (A0),A1
- ADD d2,d3
- MOVE d0,(A1)
- SUB d4,d5
-
- Just to show how you could spread memoryaccesses to prevent the
- memory to be the bottleneck.
-
- Now figure that there is another part of the program that jumps to
- the ADD and another part that jumps to the SUB.
- If the PPC optimization of this "routine" would be different then you
- had to be sure that any jump in the program must come to the right place.
- Maybe possible.
-
- Sorry, now I'm gibbering again...
-
- --
- / Jonas Elfstrom (5+ rows .sigs sux) jonas@plea.se \
- < Amiga, Linux, ISP, C, 680x0/6502. Guinness. Suede, Oasis, SP. >
- \ We are here to PLEAse you. +46 19 322010 http://www.plea.se/
-